

public class ShootCorridor extends prueba  {

	/**
	 * @uml.property  name="aCorridorAndRoom"
	 * @uml.associationEnd  multiplicity="(1 1)" inverse="shootCorridor:ACorridorAndRoom"
	 */
	private ACorridorAndRoom aCorridorAndRoom = null;
	public ShootCorridor(ACorridorAndRoom aCorridorAndRoom){
		this.aCorridorAndRoom=aCorridorAndRoom;		
	}
	public void execute(){
		aCorridorAndRoom.shoot();
	}

	/**
	 * Getter of the property <tt>aCorridorAndRoom</tt>
	 * @return  Returns the aCorridorAndRoom.
	 * @uml.property  name="aCorridorAndRoom"
	 */
	public ACorridorAndRoom getACorridorAndRoom() {
		return aCorridorAndRoom;
	}

	/**
	 * Setter of the property <tt>aCorridorAndRoom</tt>
	 * @param aCorridorAndRoom  The aCorridorAndRoom to set.
	 * @uml.property  name="aCorridorAndRoom"
	 */
	public void setACorridorAndRoom(ACorridorAndRoom aCorridorAndRoom) {
		this.aCorridorAndRoom = aCorridorAndRoom;
	}
	
}
